<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Set behavior for handling skipped wall times at positive timezone offset transitions</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="intlcalendar.setrepeatedwalltimeoption.html">« IntlCalendar::setRepeatedWallTimeOption</a></li>
      <li style="float: right;"><a href="intlcalendar.settime.html">IntlCalendar::setTime »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.intlcalendar.html">IntlCalendar</a></li>
    <li>Set behavior for handling skipped wall times at positive timezone offset transitions</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="intlcalendar.setskippedwalltimeoption" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">IntlCalendar::setSkippedWallTimeOption</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7, PHP 8, PECL &gt;= 3.0.0a1)</p><p class="refpurpose"><span class="refname">IntlCalendar::setSkippedWallTimeOption</span> &mdash; <span class="dc-title">Set behavior for handling skipped wall times at positive timezone offset transitions</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-intlcalendar.setskippedwalltimeoption-description">
  <h3 class="title">说明</h3>
  <p class="para">
   面向对象风格
  </p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>IntlCalendar::setSkippedWallTimeOption</strong></span>(<span class="methodparam"><span class="type">int</span> <code class="parameter">$option</code></span>): <span class="type">bool</span></div>

  <p class="para rdfs-comment">
   过程化风格
  </p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>intlcal_set_skipped_wall_time_option</strong></span>(<span class="methodparam"><span class="type"><a href="class.intlcalendar.html" class="type IntlCalendar">IntlCalendar</a></span> <code class="parameter">$calendar</code></span>, <span class="methodparam"><span class="type">int</span> <code class="parameter">$option</code></span>): <span class="type">bool</span></div>

  <p class="para rdfs-comment">
   Sets the current strategy for dealing with wall times that are skipped
   whenever the clock is forwarded during dailight saving time start transitions.
   The default value is <strong><code>IntlCalendar::WALLTIME_LAST</code></strong> (take
   it as being the same instant as the one when the wall time is one hour
   more).  Alternative values are
   <strong><code>IntlCalendar::WALLTIME_FIRST</code></strong> (same instant as the one
   with a wall time of one hour less) and
   <strong><code>IntlCalendar::WALLTIME_NEXT_VALID</code></strong> (same instant as
   when DST begins).
  </p>
  <p class="para">
   This affects only the instant represented by the calendar (as reported by
   <span class="function"><a href="intlcalendar.gettime.html" class="function">IntlCalendar::getTime()</a></span>), the field values will not be
   rewritten accordingly.
  </p>
  <p class="para">
   The calendar must be <a href="intlcalendar.setlenient.html" class="link">lenient</a> for this option to have
   any effect, otherwise attempting to set a non-existing time will cause an
   error.
  </p>
  <p class="para">
   This function requires ICU 4.9 or later.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-intlcalendar.setskippedwalltimeoption-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt>
<code class="parameter">calendar</code></dt>

    <dd>

     <p class="para"><span class="classname"><a href="class.intlcalendar.html" class="classname">IntlCalendar</a></span> 实例。</p>
    </dd>

   
   
    <dt>
<code class="parameter">option</code></dt>

    <dd>

     <p class="para">
      One of the constants <strong><code>IntlCalendar::WALLTIME_FIRST</code></strong>,
      <strong><code>IntlCalendar::WALLTIME_LAST</code></strong> or
      <strong><code>IntlCalendar::WALLTIME_NEXT_VALID</code></strong>.     
     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-intlcalendar.setskippedwalltimeoption-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   总是返回 <strong><code>true</code></strong> 。
  </p>
 </div>



 <div class="refsect1 examples" id="refsect1-intlcalendar.setskippedwalltimeoption-examples">
  <h3 class="title">范例</h3>
  <p class="para">
   See the example on
   <span class="function"><a href="intlcalendar.getskippedwalltimeoption.html" class="function">IntlCalendar::getSkippedWallTimeOption()</a></span>.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-intlcalendar.setskippedwalltimeoption-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="methodname"><a href="intlcalendar.getskippedwalltimeoption.html" class="methodname" rel="rdfs-seeAlso">intlCalendar::getSkippedWallTimeOption()</a> - Get behavior for handling skipped wall time</span></li>
    <li class="member"><span class="methodname"><a href="intlcalendar.setrepeatedwalltimeoption.html" class="methodname" rel="rdfs-seeAlso">intlCalendar::setRepeatedWallTimeOption()</a> - Set behavior for handling repeating wall times at negative timezone offset transitions</span></li>
    <li class="member"><span class="methodname"><a href="intlcalendar.getrepeatedwalltimeoption.html" class="methodname" rel="rdfs-seeAlso">intlCalendar::getRepeatedWallTimeOption()</a> - Get behavior for handling repeating wall time</span></li>
   </ul>
  </p>
 </div>


</div></div></div></body></html>